﻿using Newtonsoft.Json;
using System.Collections.Generic;

namespace FuiouMerchantAccess.Models.Response {
    public class XyWeChatConfigGetResponseInfo : ResultReponseInfo {
        /// <summary>
        /// 配置响应结果
        /// </summary>
        [JsonProperty("configs")]
        public List<GetConfigSetResponseInfo> Configs { get; set; }
    }

    public class GetConfigSetResponseInfo {
        /// <summary>
        /// 富友商户号
        /// </summary>
        [JsonProperty("mchntCd")]
        public string MchntCd { get; set; }

        /// <summary>
        /// JSAPI 支付授权目录
        /// </summary>
        [JsonProperty("jsapiPathList")]
        public string JSApiPathList { get; set; }

        /// <summary>
        /// 子商户 SubAPPID
        /// </summary>
        [JsonProperty("appidConfigList")]
        public string AppIdConfigList { get; set; }

        /// <summary>
        /// 返回码
        /// </summary>
        [JsonProperty("code")]
        public string Code { get; set; }

        /// <summary>
        /// 返回信息
        /// </summary>
        [JsonProperty("message")]
        public string Message { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        [JsonProperty("error")]
        public string Error { get; set; }

        /// <summary>
        /// 返回状态
        /// </summary>
        [JsonProperty("status")]
        public string Status { get; set; }

        /// <summary>
        /// 返回状态码
        /// </summary>
        [JsonProperty("statusCode")]
        public string StatusCode { get; set; }
    }
}
